package cn.edu.sjtu.se.dslab.dao;

import java.util.List;

import cn.edu.sjtu.se.dslab.component.data.DomainEntity;
import cn.edu.sjtu.se.dslab.component.method.MethodToDomain;

public interface IMethodToDomainDao {
	public void save(MethodToDomain methodToDomain);

	public void update(MethodToDomain methodToDomain);

	public MethodToDomain queryById(long id);
	
	public List<MethodToDomain> queryByDomainEntity(DomainEntity entity);
}
